diff options
| author | Adam Soltys <[email protected]> | 2026-01-28 22:51:34 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-01-28 22:51:34 -0800 |
| commit | 568a936e08586b7ac07b4c7adaf5bf9b8ef6ba2f (patch) | |
| tree | 56a45c92cd37c8ba1d1d794d300af0462c86dbf3 /src/routes/(app)/[username]/(profile)/+layout.svelte | |
| parent | 685d085596a1a20d2b5680cf8000313173bbe6fd (diff) | |
| parent | 838f74effb5b45e545bf68a4659e1e36c14da81f (diff) | |
| download | coinos-ui-nip17dm-fixes.tar.gz coinos-ui-nip17dm-fixes.zip | |
Merge remote-tracking branch 'origin/nip17dm'nip17dm-fixes
# Conflicts:
# .env.sample
Diffstat (limited to 'src/routes/(app)/[username]/(profile)/+layout.svelte')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index b384344e..515dba5d 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -140,6 +140,15 @@ <iconify-icon noobserver icon="ph:pencil-bold" width="32" ></iconify-icon> </a> + {:else} + <a + href="/dm?username={subject.username}" + class="btn contents" + aria-label="Direct Message" + > + <iconify-icon noobserver icon="ph:chat-bold" width="32" + ></iconify-icon> + </a> {/if} <!-- <a href={`/${subject.pubkey}/notes`}> --> <!-- <iconify-icon noobserver icon="ph:note-bold" width="32"></iconify-icon> --> |
